package util.constant;

public class Constant {
	
	public enum WEB_SOCKET{
		WEB_SOCKET;
		public final static String ADDRESS = "127.0.0.1";
		public final static Integer POST = Constant.NETTY_CONFIG.PORT;
	}
	
	public enum RESPONSE_STATE{
		RESPONSE_STATE;
		public final static String SUCCESS = "success";
		public final static String ERROR = "error";
	}
	
	public enum NETTY_CONFIG {
		NETTY_CONFIG;
		public final static Integer PORT = 7878;
	}
	
	public enum RESPONSE {
		RESPONSE;
		public final static String ON_LINE = "onLine";
		public final static String OUT_LINE = "outLine";
		public final static String MSG = "msg";
		public final static String PONG = "pong";
		public final static String ALIAS = "alias";
	}
	
	public enum REQUEST {
		REQUEST;
		public final static String FIND_ALL_USER = "findAllUser";
		public final static String SENT_TO = "sendTo";
		public final static String PING = "ping";
		public final static String ALIAS = "alias";
	}
}
